package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class TestController {

    @GetMapping("/test")
    public String SpringMVCTest(@RequestParam("u1") String u1) {
        System.out.println(u1);
        return "welcome.jsp";
    }
}
